package org.learn.test;

public class ArithmeticoperatorExercise02 {
    //编写一个主方法
    public static void main(String[] args){
        //假如还有59天放假，问；合xx个星期天零xx天
        //需求，思路分析，走代码
//        int days = 5201314;
//        int weeks = days/7;
//        int leaftDays = days % 7;
//        System.out.println(days + "天合" + weeks + "星期零"
//        + leaftDays +"天");
        //定义一个变量保存华氏温度，求出华氏温度对应的对应摄氏温度
        double huashi = 234.6;
        double sheshi = 5.0 / 9.0 * (huashi - 100);
        System.out.println("华氏温度=" + huashi + "对应的摄氏温度" + sheshi);

    }
}
